package xyz.haijin.spider.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import xyz.haijin.zt.mysql.core.Column;
import xyz.haijin.zt.mysql.core.ID;
import xyz.haijin.zt.mysql.core.Table;
import xyz.haijin.zt.mysql.core.Where;


/**
 * @Author liuhaijin
 * @Date 2022/3/29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table("wallpaper_detail")
@Where("wallpaper_type = ?")
public class WallpaperDetail {
    @ID("id")
    private Integer id;
    @Column("wallpaper_name")
    private String wallpaperName;
    @Column("wallpaper_list_url")
    private String wallpaperListUrl;
    @Column("wallpaper_type")
    private Integer wallpaperType;
    @Column("remark")
    private String remark;
    @Column("wallpaper_detail_url")
    private String wallpaperDetailUrl;
    @Column("wallpaper_detail_click_url")
    private String wallpaperDetailClickUrl;
    @Column("wallpaper_list_width")
    private Integer wallpaperListWidth;
    @Column("wallpaper_list_height")
    private Integer wallpaperListHeight;
    @Column("wallpaper_detail_width")
    private Integer wallpaperDetailWidth;
    @Column("wallpaper_detail_height")
    private Integer wallpaperDetailHeight;
}
